3.11.84 \(\int \frac {(a+b x+c x^2)^2}{(b d+2 c d x)^{3/2}} \, dx\)

Optimal. Leaf size=88 \[ -\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5} \]

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {683} \begin {gather*} -\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^(3/2),x]

[Out]

-(b^2 - 4*a*c)^2/(16*c^3*d*Sqrt[b*d + 2*c*d*x]) - ((b^2 - 4*a*c)*(b*d + 2*c*d*x)^(3/2))/(24*c^3*d^3) + (b*d +
2*c*d*x)^(7/2)/(112*c^3*d^5)

Rule 683

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d +
 e*x)^m*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e,
 0] && IGtQ[p, 0] &&  !(EqQ[m, 3] && NeQ[p, 1])

Rubi steps

\begin {align*} \int \frac {\left (a+b x+c x^2\right )^2}{(b d+2 c d x)^{3/2}} \, dx &=\int \left (\frac {\left (-b^2+4 a c\right )^2}{16 c^2 (b d+2 c d x)^{3/2}}+\frac {\left (-b^2+4 a c\right ) \sqrt {b d+2 c d x}}{8 c^2 d^2}+\frac {(b d+2 c d x)^{5/2}}{16 c^2 d^4}\right ) \, dx\\ &=-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 91, normalized size = 1.03 \begin {gather*} \frac {c^2 \left (-21 a^2+14 a c x^2+3 c^2 x^4\right )+b^2 c \left (14 a+c x^2\right )+2 b c^2 x \left (7 a+3 c x^2\right )-2 b^4-2 b^3 c x}{21 c^3 d \sqrt {d (b+2 c x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^(3/2),x]

[Out]

(-2*b^4 - 2*b^3*c*x + b^2*c*(14*a + c*x^2) + 2*b*c^2*x*(7*a + 3*c*x^2) + c^2*(-21*a^2 + 14*a*c*x^2 + 3*c^2*x^4
))/(21*c^3*d*Sqrt[d*(b + 2*c*x)])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.10, size = 103, normalized size = 1.17 \begin {gather*} \frac {\left (-21 a^2 c^2+14 a b^2 c+14 a b c^2 x+14 a c^3 x^2-2 b^4-2 b^3 c x+b^2 c^2 x^2+6 b c^3 x^3+3 c^4 x^4\right ) \sqrt {b d+2 c d x}}{21 c^3 d^2 (b+2 c x)} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^(3/2),x]

[Out]

(Sqrt[b*d + 2*c*d*x]*(-2*b^4 + 14*a*b^2*c - 21*a^2*c^2 - 2*b^3*c*x + 14*a*b*c^2*x + b^2*c^2*x^2 + 14*a*c^3*x^2
 + 6*b*c^3*x^3 + 3*c^4*x^4))/(21*c^3*d^2*(b + 2*c*x))

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 105, normalized size = 1.19 \begin {gather*} \frac {{\left (3 \, c^{4} x^{4} + 6 \, b c^{3} x^{3} - 2 \, b^{4} + 14 \, a b^{2} c - 21 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 14 \, a c^{3}\right )} x^{2} - 2 \, {\left (b^{3} c - 7 \, a b c^{2}\right )} x\right )} \sqrt {2 \, c d x + b d}}{21 \, {\left (2 \, c^{4} d^{2} x + b c^{3} d^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^(3/2),x, algorithm="fricas")

[Out]

1/21*(3*c^4*x^4 + 6*b*c^3*x^3 - 2*b^4 + 14*a*b^2*c - 21*a^2*c^2 + (b^2*c^2 + 14*a*c^3)*x^2 - 2*(b^3*c - 7*a*b*
c^2)*x)*sqrt(2*c*d*x + b*d)/(2*c^4*d^2*x + b*c^3*d^2)

________________________________________________________________________________________

giac [A]  time = 0.20, size = 109, normalized size = 1.24 \begin {gather*} -\frac {b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}}{16 \, \sqrt {2 \, c d x + b d} c^{3} d} - \frac {14 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b^{2} c^{18} d^{32} - 56 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a c^{19} d^{32} - 3 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} c^{18} d^{30}}{336 \, c^{21} d^{35}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^(3/2),x, algorithm="giac")

[Out]

-1/16*(b^4 - 8*a*b^2*c + 16*a^2*c^2)/(sqrt(2*c*d*x + b*d)*c^3*d) - 1/336*(14*(2*c*d*x + b*d)^(3/2)*b^2*c^18*d^
32 - 56*(2*c*d*x + b*d)^(3/2)*a*c^19*d^32 - 3*(2*c*d*x + b*d)^(7/2)*c^18*d^30)/(c^21*d^35)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 96, normalized size = 1.09 \begin {gather*} -\frac {\left (2 c x +b \right ) \left (-3 c^{4} x^{4}-6 b \,c^{3} x^{3}-14 a \,c^{3} x^{2}-x^{2} b^{2} c^{2}-14 a b \,c^{2} x +2 x \,b^{3} c +21 a^{2} c^{2}-14 a \,b^{2} c +2 b^{4}\right )}{21 \left (2 c d x +b d \right )^{\frac {3}{2}} c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^(3/2),x)

[Out]

-1/21*(2*c*x+b)*(-3*c^4*x^4-6*b*c^3*x^3-14*a*c^3*x^2-b^2*c^2*x^2-14*a*b*c^2*x+2*b^3*c*x+21*a^2*c^2-14*a*b^2*c+
2*b^4)/c^3/(2*c*d*x+b*d)^(3/2)

________________________________________________________________________________________

maxima [A]  time = 1.40, size = 89, normalized size = 1.01 \begin {gather*} -\frac {\frac {21 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )}}{\sqrt {2 \, c d x + b d} c^{2}} + \frac {14 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} {\left (b^{2} - 4 \, a c\right )} d^{2} - 3 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}}}{c^{2} d^{4}}}{336 \, c d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^(3/2),x, algorithm="maxima")

[Out]

-1/336*(21*(b^4 - 8*a*b^2*c + 16*a^2*c^2)/(sqrt(2*c*d*x + b*d)*c^2) + (14*(2*c*d*x + b*d)^(3/2)*(b^2 - 4*a*c)*
d^2 - 3*(2*c*d*x + b*d)^(7/2))/(c^2*d^4))/(c*d)

________________________________________________________________________________________

mupad [B]  time = 0.49, size = 99, normalized size = 1.12 \begin {gather*} \frac {3\,{\left (b\,d+2\,c\,d\,x\right )}^4-21\,b^4\,d^4-14\,b^2\,d^2\,{\left (b\,d+2\,c\,d\,x\right )}^2-336\,a^2\,c^2\,d^4+56\,a\,c\,d^2\,{\left (b\,d+2\,c\,d\,x\right )}^2+168\,a\,b^2\,c\,d^4}{336\,c^3\,d^5\,\sqrt {b\,d+2\,c\,d\,x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^(3/2),x)

[Out]

(3*(b*d + 2*c*d*x)^4 - 21*b^4*d^4 - 14*b^2*d^2*(b*d + 2*c*d*x)^2 - 336*a^2*c^2*d^4 + 56*a*c*d^2*(b*d + 2*c*d*x
)^2 + 168*a*b^2*c*d^4)/(336*c^3*d^5*(b*d + 2*c*d*x)^(1/2))

________________________________________________________________________________________

sympy [A]  time = 30.23, size = 82, normalized size = 0.93 \begin {gather*} - \frac {\left (4 a c - b^{2}\right )^{2}}{16 c^{3} d \sqrt {b d + 2 c d x}} + \frac {\left (4 a c - b^{2}\right ) \left (b d + 2 c d x\right )^{\frac {3}{2}}}{24 c^{3} d^{3}} + \frac {\left (b d + 2 c d x\right )^{\frac {7}{2}}}{112 c^{3} d^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+b*x+a)**2/(2*c*d*x+b*d)**(3/2),x)

[Out]

-(4*a*c - b**2)**2/(16*c**3*d*sqrt(b*d + 2*c*d*x)) + (4*a*c - b**2)*(b*d + 2*c*d*x)**(3/2)/(24*c**3*d**3) + (b
*d + 2*c*d*x)**(7/2)/(112*c**3*d**5)

________________________________________________________________________________________